<template>
	<view>
		<view class="web-view">
			<web-view :src="src"></web-view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src: ''
			};
		},
		methods: {
			back() {
				uni.switchTab({
					url: '../user/index'
				});
			}
		},
		onLoad(option) {
			var cellphone;
			uni.getStorage({
				key: 'cellphone',
				success: res => {
					cellphone = res.data;
					this.src = this.websiteUrl + '/krpano?cellphone=' + cellphone + "&project_id=" + option.project_id;
				}
			});
		}
	};
</script>

<style>

</style>
